package com.ychug.service.cms.entity;


import com.ychug.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 内容表 cms_article
 * 
 * @author mcpcms
 * @date 2019-04-27
 */
public class CmsArticleEntity extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 内容编号 */
	private Integer contentId;
	/** 内容编码 */
	private String contentCode;
	/** 站点编号 */
	private Integer siteId;
	/** 栏目编码 */
	private Integer columnId;
	/** 模型模板 */
	private Integer formId;
	/** 模板路径 */
	private String templatePath;
	/** 外部链接 */
	private String contentUrl;
	/** 标题名称 */
	private String titleName;
	/** 标题图片 */
	private String titleUrl;
	/** 附件 */
	private String annex;
	/** 页面标题 */
	private String title;
	/** 关键词 */
	private String keywords;
	/** 描述文字 */
	private String description;
	/** Tag标签 */
	private String tag;
	/** 是否推荐0、否1、是 */
	private Integer isRecommend;
	/** 是否置顶0、否1、是 */
	private Integer isTop;
	/** 是否首页显示0、否1、是 */
	private Integer isShow;
	/** 点击数 */
	private Integer clicks;
	/** 发布人 */
	private String createPeople;
	/** 发布时间 */
	private Date createTime;
	/** 修改时间 */
	private Date updateTime;
	/** 审核状态0、待审核  1、通过 2、未通过 */
	private Integer status;
	/** 状态:0、删除 1、正常 2、回收站 */
	private Integer delFlag;
	/** 备注 */
	private String remark;

	public void setContentId(Integer contentId) 
	{
		this.contentId = contentId;
	}

	public Integer getContentId() 
	{
		return contentId;
	}
	public void setContentCode(String contentCode) 
	{
		this.contentCode = contentCode;
	}

	public String getContentCode() 
	{
		return contentCode;
	}
	public void setSiteId(Integer siteId) 
	{
		this.siteId = siteId;
	}

	public Integer getSiteId() 
	{
		return siteId;
	}
	public void setColumnId(Integer columnId) 
	{
		this.columnId = columnId;
	}

	public Integer getColumnId() 
	{
		return columnId;
	}
	public void setFormId(Integer formId) 
	{
		this.formId = formId;
	}

	public Integer getFormId() 
	{
		return formId;
	}
	public void setTemplatePath(String templatePath) 
	{
		this.templatePath = templatePath;
	}

	public String getTemplatePath() 
	{
		return templatePath;
	}
	public void setContentUrl(String contentUrl) 
	{
		this.contentUrl = contentUrl;
	}

	public String getContentUrl() 
	{
		return contentUrl;
	}
	public void setTitleName(String titleName) 
	{
		this.titleName = titleName;
	}

	public String getTitleName() 
	{
		return titleName;
	}
	public void setTitleUrl(String titleUrl) 
	{
		this.titleUrl = titleUrl;
	}

	public String getTitleUrl() 
	{
		return titleUrl;
	}
	public void setAnnex(String annex) 
	{
		this.annex = annex;
	}

	public String getAnnex() 
	{
		return annex;
	}
	public void setTitle(String title) 
	{
		this.title = title;
	}

	public String getTitle() 
	{
		return title;
	}
	public void setKeywords(String keywords) 
	{
		this.keywords = keywords;
	}

	public String getKeywords() 
	{
		return keywords;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setTag(String tag) 
	{
		this.tag = tag;
	}

	public String getTag() 
	{
		return tag;
	}
	public void setIsRecommend(Integer isRecommend) 
	{
		this.isRecommend = isRecommend;
	}

	public Integer getIsRecommend() 
	{
		return isRecommend;
	}
	public void setIsTop(Integer isTop) 
	{
		this.isTop = isTop;
	}

	public Integer getIsTop() 
	{
		return isTop;
	}
	public void setIsShow(Integer isShow) 
	{
		this.isShow = isShow;
	}

	public Integer getIsShow() 
	{
		return isShow;
	}
	public void setClicks(Integer clicks) 
	{
		this.clicks = clicks;
	}

	public Integer getClicks() 
	{
		return clicks;
	}
	public void setCreatePeople(String createPeople) 
	{
		this.createPeople = createPeople;
	}

	public String getCreatePeople() 
	{
		return createPeople;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setDelFlag(Integer delFlag) 
	{
		this.delFlag = delFlag;
	}

	public Integer getDelFlag() 
	{
		return delFlag;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("contentId", getContentId())
            .append("contentCode", getContentCode())
            .append("siteId", getSiteId())
            .append("columnId", getColumnId())
            .append("formId", getFormId())
            .append("templatePath", getTemplatePath())
            .append("contentUrl", getContentUrl())
            .append("titleName", getTitleName())
            .append("titleUrl", getTitleUrl())
            .append("annex", getAnnex())
            .append("title", getTitle())
            .append("keywords", getKeywords())
            .append("description", getDescription())
            .append("tag", getTag())
            .append("isRecommend", getIsRecommend())
            .append("isTop", getIsTop())
            .append("isShow", getIsShow())
            .append("clicks", getClicks())
            .append("createPeople", getCreatePeople())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
